package com.ruiben.mall.mapper;


import com.ruiben.mall.pojo.UserOrderBack;
import com.ruiben.mall.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserOrderBackMapper extends MyMapper<UserOrderBack> {


    List<UserOrderBack> getOrderBackList();

    List<UserOrderBack> getOrderBackListByStatus(Integer orderStatus);

    List<UserOrderBack> getOrderBackListByStatusAndUserId(@Param("userId") String userId,@Param("orderStatus") Integer orderStatus);

    UserOrderBack getUserOrderBackDetailById(String id);

}